package com.zjs.jsp.mongodbapi.service.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class RootData {

	private String info;
	private String status;

	@JsonProperty(value = "data")
	private List<OrderData> data;

	public void setInfo(String info) {
		this.info = info;
	}

	public String getInfo() {
		return info;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setData(List<OrderData> data) {
		this.data = data;
	}

	public List<OrderData> getData() {
		return data;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "RootData [info=" + info + ", status=" + status + ", data=" + data + "]";
	}
	
}